package com.xiaoshuidi.cloud.module.finance.controller.admin.finance.vo.account;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;

import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.Map;

@Schema(description = "管理后台 - 账户 Response VO")
@Data
@EqualsAndHashCode
@ToString(callSuper = true)
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class FinanceAccountVO {
    private Integer id;
    @Schema(description = "关联客户id")
    private String custId;
    @Schema(description = "关联客户类型(个人INDIVIDUAL/企业COMPANY/房屋ROOM)")
    private String custType;
    @Schema(description = "名称")
    private String name;
    private String mobile;
    private Map<String, Object> prop;
    @Schema(description = "账户类型(现金等)")
    private String accountType;
    @Schema(description = "余额")
    private java.math.BigDecimal balance;
    @Schema(description = "冻结余额")
    private java.math.BigDecimal frozen;
    private String status;
    private LocalDateTime createTime;
    private LocalDateTime updateTime;

    /**
     * 累计充值
     */
    private BigDecimal accumulatedRecharge;

    /**
     * 累计消耗 水电
     */
    private BigDecimal accumulatedHydropower;

    /**
     * 累计提现 包括待提现的或者扣费的
     */
    private BigDecimal accumulatedWithdrawal;

    /**
     * 房间
     */
    private String roomNames;
}
